/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.jy.springbootcmsservice.modules.sys.entity;

import com.jy.springbootcmsservice.common.base.entity.TreeEntity;
import lombok.Data;

/**
 * 字典Entity
 * @author tm
 * @version 2020-11-23
 */
@Data
public class Dict extends TreeEntity<Dict> {

	/**
	 * 数据值
	 */
	private String value;
	/**
	 * 标签名
	 */
	private String label;
	/**
	 * 类型
	 */
	private String type;
	/**
	 * 描述
	 */
	private String description;

	public Dict() {
		super();
	}
	
	public Dict(String id){
		super(id);
	}
	
	public Dict(String value, String label){
		this.value = value;
		this.label = label;
	}

	@Override
	public Dict getParent() {
		return super.parent;
	}

	@Override
	public void setParent(Dict parent) {
		super.parent = parent;
	}

}